package com.deep.transaction.demo5.dao;


import com.deep.transaction.demo5.pojo.User2;

import java.util.List;

public interface User2Dao {
    void outMoney(String outName, Integer money);

    void inMoney(String inName, Integer money);

    int addUser(User2 inputUser) throws Exception;

    int deleteUser(Integer userId) throws Exception;

    int updateUser(User2 inputUser) throws Exception;

    User2 selectUserById(Integer userId) throws Exception;

    List<User2> selectUser() throws Exception;
}
